home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Resource for Source: C/C++
/
Resource for Source - C-C++.iso
/
codelib9
/
v_11_07
/
1107118b
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1995-11-01
|
278 b
|
23 lines
//
// tree.h - tree interface using global classes
//
struct treenode
{
treenode(const char *w);
char *word;
treenode *left, *right;
};
class tree
{
public:
tree();
~tree();
void add(const char *w);
void print();
private:
treenode *root;
};